package org.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication//自动配置
@MapperScan("org.example.dao") //扫描接口映射文件
@EnableEurekaClient //标识开启eureka客户端，@EnableDiscoveryClient 也可以
@EnableDiscoveryClient
public class PaymentApplication8001 {//创建启动类
    //主方法启动
    public static void main(String[] args) {
        SpringApplication.run(PaymentApplication8001.class,args);
    }
}
